from django.urls import path

from temp.views import MyRoomDetailView, ThreedaysWarnHistoryTableView, NewWarnHistoryLineView, CabinetPointNewView

urlpatterns = []
# 主页面接口
urlpatterns += [
    # 返回指定deptid的全部的点位数据
    path('room/details/', MyRoomDetailView.as_view()),
    # 返回报警记录  分页+限制3天内数据返回
    path('warn/history/newtable/', ThreedaysWarnHistoryTableView.as_view()),
    # 报警历史数据查询
    path('warn/history/newline/', NewWarnHistoryLineView.as_view()),
    path('cabinet/newpoints/', CabinetPointNewView.as_view()),
]